//
//  XHRFriendTrendViewController.m
//  BuDeJie
//
//  Created by haoran on 16/3/31.
//  Copyright © 2016年 xuhaoran. All rights reserved.
//

#import "XHRFriendTrendViewController.h"
#import "XHRLoginRegisterViewController.h"

@interface XHRFriendTrendViewController ()

@end

@implementation XHRFriendTrendViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    //设置导航条内容
    [self setupNavBar];
    
    
}

#pragma mark ---- 设置导航条
-(void)setupNavBar{

    //左边
    UIBarButtonItem * leftItem = [UIBarButtonItem buttonItemWithImage:[UIImage imageNamed:@"friendsRecommentIcon"] andWithHighlightImage:[UIImage imageNamed:@"friendsRecommentIcon-click"] addTarget:self andAction:@selector(friendsRecommend)];
    
    self.navigationItem.leftBarButtonItem = leftItem;
    
    //中间
    self.navigationItem.title = @"我的关注";
}

//立即登录注册
- (IBAction)loginRegisterBtnClick:(id)sender {
    XHRLoginRegisterViewController * vc = [[XHRLoginRegisterViewController alloc]init];
    
    [self presentViewController:vc animated:YES completion:nil];
}



//朋友推荐
-(void)friendsRecommend{
    XHRFunction;

}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
